package com.ys.service.finance;

import com.ys.vo.R;

import java.util.List;
import java.util.Map;

/**
 * 资金登记单
 */
public interface TcwCapitalRegisterService {

	//新增
	R add(Map<String, Object> params, Long menuId) throws Exception ;


	//修改
	R update(Map<String, Object> params, Long menuId) throws Exception ;

	//删除
	R del(Long id)throws Exception;

	//删除列表
	R toDelByItem(Long id)throws Exception;

	//流转通过
	R flowPass(Long id, String loginUserId) throws Exception;

	//流转结束
	R flowFinish(String bid) throws Exception;

	//获取列表数据
	Map<String,Object> getExtraParam( String bid) throws Exception;

	//获取子列表数据
	List<Map<String, Object>> getItemList(String bid) throws Exception;

}